package com.logicalthinking.socialmall.dao;

import com.logicalthinking.socialmall.common.vo.requestVo.admin.AdminListQueryParams;
import com.logicalthinking.socialmall.common.vo.responseVo.admin.AdminVo;
import com.logicalthinking.socialmall.entity.Admin;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 管理员用户
 * @author chenLiJia
 * @since 2020-02-17 14:43:32
 * @version 1.0
 **/
public interface AdminMapper extends Mapper<Admin> {
    Admin selectByPrimaryKey(Integer id);


    /**
     * 列表查询后台用户
     * @param params
     * @return
     */
    List<AdminVo> listPage(AdminListQueryParams params);
}